/**
 * 
 */
package com.aspire.android.heliar.pub.render;


import android.text.SpannableStringBuilder;

import com.aspire.android.heliar.pub.Pub;

/**
 * @author panglei
 * 
 */
public class SpanPubRender  {

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.aspire.android.heliar.pub.render.PubRender#render(com.aspire.android
	 * .heliar.pub.Pub)
	 */
	public SpannableStringBuilder render(Pub pub) {
//		String content = "";
//		content += "Title:" + pub.getTitle() + "\n";
//		content += travelNodes(pub.getRootNode());
		return null;
	}

//	private String travelNodes(ContentNode node) {
//		String content = "";
//		Set<String> names = node.getAttachments().keySet();
//		for (String name : names) {
//			content += "Attachment:" + name + "\n";
//		}
//
//		content += "Title:" + node.getTitle() + " level:" + node.getLevel() + "\n";
//		content += "Content:" + node.getContent() + "\n";
//
//		if (node.getChildNodes().size() > 0) {
//
//			for (ContentNode childNode : node.getChildNodes()) {
//				content += travelNodes(childNode);
//			}
//		}
//		return content;
//
//	}

}
